package service;

import entity.Baoxiu;

import javax.naming.NamingException;
import java.sql.SQLException;
import java.util.List;

public interface RepairService {
    int getTotalCount(Integer id, String roomNumber) throws SQLException, NamingException, ClassNotFoundException;
    List<Baoxiu> chaxun(Integer id, String roomNumber, int page, int pageSize) throws SQLException, NamingException, ClassNotFoundException;
    int tianjia(Baoxiu baoxiu) throws SQLException, NamingException, ClassNotFoundException;
    Integer tjpd(Baoxiu baoxiu) throws SQLException, ClassNotFoundException;
    int updateStatus(int orderId, String status, String processAt, String completedAt) throws SQLException, NamingException, ClassNotFoundException;

}
